package Creature;

import com.ljt.Map.Place;
import com.ljt.Weapon.Weapon;

/**
 * @description:
 * @author: 28437
 * @date: Created in 2020/5/31 8:14
 * @version: 1.0
 * @modified By:
 */
public abstract class Creature {
    private  String id;
    private  String description;
    private int HpValue;
    private Weapon currentWeapon;
    private Place currentPlace;
    public  abstract void useArticle(Weapon weapon, Creature targetCreature);

    public Creature() {
    }

    public Creature(String id, String description) {
        this.id = id;
        this.description = description;
    }

    public Creature(String id, String description, int hpValue) {
        this.id = id;
        this.description = description;
        HpValue = hpValue;
    }

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getDescription() {
        return description;
    }

    public void setDescription(String description) {
        this.description = description;
    }

    public int getHpValue() {
        return HpValue;
    }

    public void setHpValue(int hpValue) {
        HpValue = hpValue;
    }

    public Weapon getCurrentWeapon() {
        return currentWeapon;
    }

    public void setCurrentWeapon(Weapon currentWeapon) {
        this.currentWeapon = currentWeapon;
    }

    public Place getCurrentPlace() {
        return currentPlace;
    }

    public void setCurrentPlace(Place currentPlace) {
        this.currentPlace = currentPlace;
    }
}
